<template>
  <div>
    <pre>
      params参数:{{ $route.params.keyword }}---{{a}}--{{b}}
      </pre>
    <pre>
        query参数:{{$route.query.k}}
      </pre
    >
  </div>
</template>

<script>
export default {
  name: "Search",
//   props: ["erha", "taidi"],
// props:["keyword"]
    props:['a','b']
};
</script>

<style>
</style>